/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.openbookformat.project;

/**
 *
 * @author MUFEED
 */
public class Chapter {
    String title;

    public Chapter(String title) {    
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public boolean equals(Object o) {
        return title.equals(((Chapter) o).title);
    }

    @Override
    public String toString() {
        return "Chapter{" + "title=" + title + '}';
    }
}